Class Louvain

All Implemented Interfaces:
Processable<Graph,Graph>

public class Louvain extends ClusteringAlgorithm
Louvain algorithm implemented using the brief description by Mark Newman on pages 511-512 of "Networks Second Edition". There are somewhat detailed comments and descriptions in: edu.claflin.finder.algo.clustering.struct.louvain_struct.LouvainAlgorithm.java
Author:
Samuel Perez
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • process

      public ArrayList<Graph> process(Graph graph)
      Performs community detection using the Louvain algorithm
      Parameters:
      graph - the Graph on which community detection will be performed
      Returns:
      the list of Graphs representing the clustering with the highest approximated modularity